import request from '@/utils/request'

const login = (params) => {
  return request.post('/api/v1/member/login', params)
}

const verify = (params) => {
  return request.get('/api/v1/member/verify', params)
}

const resetPassword = (params) => {
  return request.patch('/api/v1/member/password', params, {
    headers: {'Content-Type': 'multipart/form-data'}
  })
}

export default {
  login,
  verify,
  resetPassword
}
